.btn
{
    position: relative;
    display: inline-block;
    padding: 5px 10px;
    font-size: 13px;
    font-weight: bold;
    line-height: 18px;
    color: #333;
    text-shadow: 0 1px 1px rgba(255,255,255,.5);
    background-color: #ccc;
    background-repeat: no-repeat;
    border: 1px solid #ccc;
    cursor: pointer;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.5);
    box-shadow: 0 1px 0 rgba(255,255,255,.5);
}

.ie9 .btn
{
    border-radius: 0;
}
.no-shadow
{
    -webkit-box-shadow: none;
    box-shadow: none;
}

.btn.no-shadow:active
{
    -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.1);
    box-shadow: inset 0 2px 4px rgba(0,0,0,.1);
}


button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner
{
    padding: 0;
    border: 0;
}


.btn
{
    background-color: #ddd;
    background-repeat: repeat-x;
    background-image: -moz-linear-gradient(#fff,#ddd);
    background-image: -ms-linear-gradient(#fff,#ddd);
    background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#fff),color-stop(100%,#ddd));
    background-image: -webkit-linear-gradient(#fff,#ddd);
    background-image: -o-linear-gradient(#fff,#ddd);
    background-image: linear-gradient(#fff,#ddd);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#dddddd');
}


.btn:hover, .photo-selector:not(.disabled):hover .btn, .follow-combo.open .btn-user-actions, .dropdown.open .user-dropdown
{
    text-decoration: none;
    background-color: #d8d8d8;
    background-image: -moz-linear-gradient(#f8f8f8,#d8d8d8);
    background-image: -ms-linear-gradient(#f8f8f8,#d8d8d8);
    background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#f8f8f8),color-stop(100%,#d8d8d8));
    background-image: -webkit-linear-gradient(#f8f8f8,#d8d8d8);
    background-image: -o-linear-gradient(#f8f8f8,#d8d8d8);
    background-image: linear-gradient(#f8f8f8,#d8d8d8);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    border-color: #bbb;
}


.btn.active, .btn:active, .follow-combo.open .btn-user-actions, .dropdown.open .user-dropdown, .btn.open, .open > .btn
{
    border-color: #bbb;
    background-image: none;
    -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.1),0 1px 0 rgba(255,255,255,.5);
    box-shadow: inset 0 2px 4px rgba(0,0,0,.1),0 1px 0 rgba(255,255,255,.5);
}


.btn.disabled, .btn.disabled:hover, .btn[disabled], .btn[aria-disabled=true], .primary-btn.btn.disabled, .primary-btn.btn.disabled:hover, .primary-btn.btn[disabled]
{
    color: #777;
    text-shadow: 0 1px 1px rgba(255,255,255,.75);
    cursor: default;
    background-color: #ddd;
    background-image: none;
    border-color: #ccc;
    filter: alpha(opacity=65);
    opacity: .65;
}


.btn:focus
{
    text-decoration: none;
}

a.btn:focus
{
    outline: dotted 1px #000;
    outline: auto 5px -webkit-focus-ring-color;
}

.btn.large
{
    font-size: 16px;
    line-height: 28px;
    border-radius: 6px;
}
.btn.small
{
    padding-right: 9px;
    padding-left: 9px;
    font-size: 11px;
}

.signup-btn
{
    background-color: #fd9a0f;
    background-repeat: repeat-x;
    background-image: -moz-linear-gradient(top,#fee94f 0,#fd9a0f 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#fee94f),color-stop(100%,#fd9a0f));
    background-image: -webkit-linear-gradient(top,#fee94f 0,#fd9a0f 100%);
    background-image: -ms-linear-gradient(top,#fee94f 0,#fd9a0f 100%);
    background-image: -o-linear-gradient(top,#fee94f 0,#fd9a0f 100%);
    background-image: linear-gradient(top,#fee94f 0,#fd9a0f 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fee94f',endColorstr='#fd9a0f',GradientType=0);
    border-color: #fa2;
}


.signup-btn:hover, .signup-btn:focus
{
    color: #333;
    background-color: #fd9512;
    background-repeat: repeat-x;
    background-image: -moz-linear-gradient(top,#fedc4d 0,#fd9512 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#fedc4d),color-stop(100%,#fd9512));
    background-image: -webkit-linear-gradient(top,#fedc4d 0,#fd9512 100%);
    background-image: -ms-linear-gradient(top,#fedc4d 0,#fd9512 100%);
    background-image: -o-linear-gradient(top,#fedc4d 0,#fd9512 100%);
    background-image: linear-gradient(top,#fedc4d 0,#fd9512 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fedc4d',endColorstr='#fd9512',GradientType=0);
    border-color: #ec8b11;
}


.signup-btn:active
{
    background-image: none;
    border-color: #ec8b11;
}


.primary-btn
{
    color: #fff;
    text-shadow: 0 -1px 1px rgba(0,0,0,.25);
    background-color: #019ad2;
    background-repeat: repeat-x;
    background-image: -moz-linear-gradient(#33bcef,#019ad2);
    background-image: -ms-linear-gradient(#33bcef,#019ad2);
    background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#33bcef),color-stop(100%,#019ad2));
    background-image: -webkit-linear-gradient(#33bcef,#019ad2);
    background-image: -o-linear-gradient(#33bcef,#019ad2);
    background-image: linear-gradient(#33bcef,#019ad2);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#33bcef',endColorstr='#019ad2',GradientType=0);
    border-color: #057ed0;
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}


.primary-btn:hover, .primary-btn:focus
{
    color: #fff;
    background-color: #0271bf;
    background-repeat: repeat-x;
    background-image: -moz-linear-gradient(#2daddc,#0271bf);
    background-image: -ms-linear-gradient(#2daddc,#0271bf);
    background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#2daddc),color-stop(100%,#0271bf));
    background-image: -webkit-linear-gradient(#2daddc,#0271bf);
    background-image: -o-linear-gradient(#2daddc,#0271bf);
    background-image: linear-gradient(#2daddc,#0271bf);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2daddc',endColorstr='#0271bf',GradientType=0);
    border-color: #096eb3;
}




a.hide-focus
{
    text-decoration: none;
}
h1, h2, h3, h4, h5, h6
{
    color: #333;
    margin: 0;
    text-rendering: optimizeLegibility;
}




.flex-table
{
    width: 100%;
}
.flex-table-primary, .flex-table-secondary
{
    vertical-align: top;
}
.flex-table-primary
{
    width: 99%;
    padding-right: 5px;
}
.flex-table-secondary
{
    width: 1%;
    max-width: 1%;
}
.flex-table-form
{
    float: left;
    width: 100%;
}
.flex-table-input
{
    display: block;
    width: 100%;
    line-height: normal;
    height: 30px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.invite-friends .flex-table-input
{
    line-height: 20px;
}
.flex-table-btn
{
    float: right;
    width: auto;
    white-space: nowrap;
}

input, textarea, div[contenteditable="true"], select
{
    display: inline-block;
    width: 210px;
    padding: 4px;
    margin: 0;
    outline: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
}
.ie9 input, .ie9 textarea
{
    min-height: 20px;
}
input[type=checkbox], input[type=radio]
{
    width: auto;
    height: auto;
    padding: 0;
    margin: 3px 0;
    line-height: normal;
    border: 0;
    background-color: transparent;
    cursor: pointer;
}
.form-horizontal .controls
{
    margin-left: 140px;
}
.form-horizontal input, .form-horizontal select, .form-horizontal textarea
{
    margin-bottom: 5px;
}
.form-horizontal .controls p
{
    color: #999;
}
.form-horizontal .form-actions
{
    padding-left: 140px;
    margin: 20px 0 8px;
}
.placeholding-input
{
    position: relative;
    overflow: visible;
}
.placeholding-input input
{
    position: absolute;
    top: 0;
}
.placeholding-input .placeholder
{
    position: absolute;
    top: 1px;
    right: 1px;
    bottom: 1px;
    left: 2px;
    z-index: 1;
    height: 20px;
    padding: 4px;
    font-size: 13px;
    line-height: 20px;
    color: #999;
    white-space: nowrap;
    cursor: text;
    -webkit-transition: opacity .1s,font-size .1s;
    -moz-transition: opacity .1s,font-size .1s;
    -o-transition: opacity .1s,font-size .1s;
    transition: opacity .1s,font-size .1s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.front-signin
{
    height: 108px;
    position: relative;
    width: 300px;
}
.front-signup
{
    height: 206px;
    position: relative;
    width: 300px;
}
.front-signin, .front-signup
{
    background: #fff;
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#fff),color-stop(100%,#ddd));
    background: -webkit-linear-gradient(top,#fff 0,#ddd 100%);
    background: -moz-linear-gradient(top,#fff 0,#ddd 100%);
    background: -ms-linear-gradient(top,#fff 0,#ddd 100%);
    background: -o-linear-gradient(top,#fff 0,#ddd 100%);
    background: linear-gradient(top,#fff 0,#ddd 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#dddddd',GradientType=0);
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    -webkit-box-shadow: 0 1px 0 rgba(0,0,0,0.1);
    box-shadow: 0 1px 0 rgba(0,0,0,0.1);
    
}
.front-card
{
    position: relative;
    height:400px;
}
.front-card .text-input:focus
{
    border: 1px solid #56b4ef;
    -webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,0.05),0 0 8px rgba(82,168,236,0.6);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05),0 0 8px rgba(82,168,236,0.6);
}
.front-card .text-input
{
    height: 20px;
}
.front-signin .username .text-input
{
    width: 266px;
}
.front-signin .password .text-input
{
    height: 30px;
}
.front-signin .username
{
    color: #333;
    left: 12px;
    position: absolute;
    top: 12px;
    width: 276px;
}
.front-signin .password
{
    width: 100%;
}
.front-signin .password-signin
{
    left: 12px;
    position: absolute;
    top: 48px;
    width: 276px;
}
.front-signin .submit
{
    -webkit-box-shadow: 0 1px 0 #fff;
    box-shadow: 0 1px 0 #fff;
    height: 30px;
}
.front-signin .remember-forgot
{
    left: 12px;
    margin: 0;
    position: absolute;
    top: 82px;
    width: 276px;
}
.front-signin .remember, .front-signin .forgot, .front-signin .separator
{
    color: #999;
    display: inline;
    font-size: 11px;
    line-height: 13px;
    margin: 0;
    text-shadow: 0 1px 0 rgba(255,255,255,0.6);
}
.front-signin .remember input[type="checkbox"]
{
    height: 13px;
    margin: 0;
    vertical-align: text-top;
}
.ie9 .front-signin .remember input[type="checkbox"]
{
    min-height: auto;
}
.front-signup h2, .front-signin h2
{
    border-bottom: 1px solid #e2e2e2;
    -webkit-box-shadow: 0 1px 0 #fff;
    box-shadow: 0 1px 0 #fff;
    color: #777;
    display: block;
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 12px;
    padding: 10px 12px;
    position: relative;
    text-shadow: 0 1px 0 rgba(255,255,255,0.6);
}
.front-signup .placeholding-input
{
    display: block;
    height: 30px;
    margin: 6px auto;
    width: 276px;
}
.front-signup .text-input
{
    width: 266px;
}
.front-signup .btn
{
    bottom: 12px;
    -webkit-box-shadow: 0 1px 0 #fff;
    box-shadow: 0 1px 0 #fff;
    height: 30px;
    margin: 0;
    padding-left: 12px;
    padding-right: 12px;
    position: absolute;
    right: 12px;
}
